/**
 *	(C) 2014 Yuanjj
 *
 *	define net work protocal thread class
 *
 *	histroy
 * 		2014-08-07	yuanjj	- create the file
 */

#ifndef _NET_THREAD_H_
#define _NET_THREAD_H_

#include 	"typedef.h"
#include	"../base_thread.h"

class net_thread : public base_thread
{
public:
    net_thread();
    ~net_thread();

protected:
    /**
     *	deal protocal recv from the net tunnel
     */
    pem_error_t		deal_protocal( pem_s8_t* pdata, pem_u32_t size );

};

#endif // _NET_THREAD_H_
